package github.kawaiior.yuanchuxiuzhen.common.item.weapon.refine;

import github.kawaiior.yuanchuxiuzhen.core.init.itemgroup.YcxzGroup;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.BowItem;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
import net.minecraft.util.Hand;
import net.minecraft.world.World;

public class RefineBowBase extends BowItem implements IRefineWeapon{
    public RefineBowBase() {
        super(new Properties().group(YcxzGroup.YCXZ_GROUP));
    }

    @Override
    public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) {
        return super.onItemRightClick(worldIn, playerIn, handIn);
    }

    @Override
    public boolean onLeftClickEntity(ItemStack stack, PlayerEntity player, Entity entity) {
        return super.onLeftClickEntity(stack, player, entity);
    }

    @Override
    public float getAttackDamage() {
        return 10;
    }

    @Override
    public float getAttackSpeed() {
        return 0;
    }
}
